package com.hrbxlh.dao;

import java.io.IOException;
import java.util.List;
import java.util.Map;

import org.springframework.stereotype.Repository;

@Repository
public interface NoticeDao {
	
	/**
	 * @param paramMap
	 * @return  查看notice表中消息设置
	 * @throws IOException
	 */
	 Map<String, Object> getNotice(Map<String, Object> parameMap) throws Exception;
	
	/**
	 * @param paramMap
	 * @return  查看notice表中消息设置(不分时间)
	 * @throws IOException
	 */
	 List<Map<String, Object>> getNoticeBysId(Map<String, Object> parameMap) throws Exception;
	
	/**
	 * 消息设置。
	 * @throws IOException
	 */
	 boolean addNoticeSet(Map<String,Object> paramMap) throws Exception;
	
	/**
	 * 更改消息设置。
	 * @throws IOException
	 */
	 boolean updateNoticeSet(Map<String,Object> paramMap) throws Exception;
	
	/**
	 * 删除消息。
	 * @throws IOException
	 */
	 boolean delNotice(Map<String,Object> paramMap) throws Exception;

	/**
	 * * @param paramMap
	 * * @param paramMap
	 * @return  查看notice表中消息集合设置(学生端)
	 * @throws IOException
	 */
	 List<Map<String, Object>> getNoticeListByTeaId(Map<String, Object> parameMap) throws Exception;

	/**
	 * @param paramMap
	 * @return  查看notice表中消息设置
	 * @throws IOException
	 */
	 Map<String, Object> getNoticeByNoticeId(Map<String, Object> parameMap) throws Exception;


}
